<div class="main-block wide">
    <div class="in">
        <h2><?php
        //if ($error['code'] == '404')
            echo Yii::t('site_error', 'ERRLABEL') . " " .  $error['code'];
        //else
        //    echo Yii::app()->params['registry']['config']['techpage_error_page_title'];?></h2>
        <div class="text-block">
            <div class="btm" style="text-align: center;">
                <?php
                //if ($error['code'] == '404')
                    echo $error['message'];
                //else
                //    echo Yii::app()->params['registry']['config']['techpage_error_page_text']; ?>
                <br/>
                <br/>
                <a href="javascript:history.back();" class="btn" style="width: 230px;">
                    <span><?php echo Yii::t('site_error', 'PREVPAGE'); ?></span>
                </a>
            </div>
        </div>
    </div>
</div>
